import request from '@/utils/request.js'
import apis from '@/utils/api'
/**
 * @param {Object} params
 * 销售分组
 */
export function addSalerGroup(params) {
    return request.globalRequest(apis.addSalerGroup, 'POST', params)
}
export function getSalerGroup(params) {
    return request.globalRequest(apis.getSalerGroup, 'POST', params)
}

export function updateSalerGroup(params) {
    return request.globalRequest(apis.updateSalerGroup, 'POST', params)
}
export function delSalerGroup(params) {
    return request.globalRequest(apis.delSalerGroup, 'POST', params)
}

export default {
	addSalerGroup,
	getSalerGroup,
	updateSalerGroup,
	delSalerGroup,
}